package com.xzbd.sunnn.model.user;

import com.xzbd.sunnn.model.BaseDocument;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 *  用户实体
 * sun 2017-10-31.
 */
public class User extends BaseDocument {
    @Id
    private Integer number;
    private String name;
    private Integer age;

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
